package com.klangner.lucene.index
{
  /**
  * Index reader class. 
  * Use function open() to create index
  */
	public class IndexReader{
		
		/**
		 * create new IndexReader based on given directory.
		 */
		public static function open(path:String):IndexReader{
		  return new IndexReader();
		}
		
		/**
		 * Get number of documents in index
		 */
		public function numDocs(): int{
		  return 0;
		}

	}
}